<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>登录</title>
<!-- Bootstrap -->
<link th:href="@{/static/bootstrap-3.3.5-dist/css/bootstrap.min.css}" rel="stylesheet" />
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
    <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
	<div id="loginModal" class="modal show" style="background-color: rebeccapurple;">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<h1 class="text-center text-primary">达伦后台管理系统</h1>
				</div>
				<div class="modal-body">
					<form action="/background/login" method="post" class="center-block" style="width: 80%;">
						<div class="form-group">
							<input type="text" class="form-control input-lg" name="username" placeholder="用户名" />
						</div>
						<div class="form-group">
							<input type="password" class="form-control input-lg" name="password" placeholder="登录密码" />
						</div>
						<div th:if="${err_msg}!=null" class="alert alert-warning alert-dismissible" role="alert" th:text="${err_msg}"></div>
						<div class="form-group">
							<button class="btn btn-primary btn-lg btn-block">登录</button>
						</div>
					</form>
				</div>
				<div class="modal-footer"></div>
			</div>
		</div>
	</div>
	<script th:src="@{/static/jquery/jquery-1.12.3.min.js}"></script>
	<script src="/static/jquery/jquery.bsAlerts.min.js"></script>
</body>
</html>